package com.neelsys.domain.visualization;

import static org.neo4j.graphdb.Direction.INCOMING;

import java.util.HashSet;
import java.util.Set;

import org.springframework.data.neo4j.annotation.Indexed;
import org.springframework.data.neo4j.annotation.RelatedTo;

/**
 * @author madhu
 *
 */

public class EntranceTest extends BaseNodeEntity{
	
	
    @Indexed
    String id;
    
    String maximumRetries;
    
    @RelatedTo(type = "PRE_REQ_FOR",direction = INCOMING)
    private Set<MajorCombination> fromMajors=new HashSet<MajorCombination>();
    
    @RelatedTo(elementClass = MajorCombination.class,type = "ELIGIBLE_FOR")
    private Set<MajorCombination> nextCourses=new HashSet<MajorCombination>();
    
    @Indexed
    CourseDesignator courseDesigntator;
    
    @Indexed
    String entranceTestIdentifier;
    
    String description;
    
    String forCourse;


	public void setNodeId(Long nodeId) {
		this.nodeId = nodeId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMaximumRtries() {
		return maximumRetries;
	}

	public void setMaximumRtries(String maximumRtries) {
		this.maximumRetries = maximumRtries;
	}

	public Set<MajorCombination> getFromMajors() {
		return fromMajors;
	}

	public void setFromMajors(Set<MajorCombination> fromMajors) {
		this.fromMajors = fromMajors;
	}

	public Set<MajorCombination> getNextCourses() {
		return nextCourses;
	}

	public void setNextCourses(Set<MajorCombination> nextCourses) {
		this.nextCourses = nextCourses;
	}

	public String getMaximumRetries() {
		return maximumRetries;
	}

	public void setMaximumRetries(String maximumRetries) {
		this.maximumRetries = maximumRetries;
	}

	public String getEntranceTestDetails() {
		return entranceTestIdentifier;
	}

	public void setEntranceTestDetails(String entranceTestIdentifier) {
		this.entranceTestIdentifier = entranceTestIdentifier;
	}

	public CourseDesignator getCourseDesigntator() {
		return courseDesigntator;
	}

	public void setCourseDesigntator(CourseDesignator courseDesigntator) {
		this.courseDesigntator = courseDesigntator;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getForCourse() {
		return forCourse;
	}

	public void setForCourse(String forCourse) {
		this.forCourse = forCourse;
	}
    


}
